# -*- coding: utf-8 -*-
"""
flask 基础配置文件
"""

BASE_DOMAIN = 'http://127.0.0.1:8088'

SECRET_KEY = 'pusher-xq-sun56516'

HOST = '10.100.0.14'
PORT = '3306'
DATABASE = 'test'
USERNAME = 'wsadmin'
PASSWORD = 'xast890567??'

DB_URI = "mysql+pymysql://{username}:{password}@{host}:{port}/{db}?charset=utf8".format(username=USERNAME,password=PASSWORD, host=HOST,port=PORT, db=DATABASE)

SQLALCHEMY_DATABASE_URI = DB_URI
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ECHO = True